projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed363b5
)
sf: Increase max id length by 1 byte
author
Jagan Teki
<
[email protected]
>
Sun, 30 Oct 2016 17:46:17 +0000
(23:16 +0530)
committer
Jagan Teki
<
[email protected]
>
Fri, 18 Nov 2016 07:34:53 +0000
(13:04 +0530)
So, now SPI_FLASH_ID_MAX_LEN is 6 bytes useful for
few spansion flash families S25FS-S
Cc: Bin Meng <
[email protected]
>
Cc: York Sun <
[email protected]
>
Cc: Vignesh R <
[email protected]
>
Cc: Mugunthan V N <
[email protected]
>
Cc: Michal Simek <
[email protected]
>
Signed-off-by: Jagan Teki <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Reviewed-by: Jagan Teki <
[email protected]
>
Tested-by: Jagan Teki <
[email protected]
>
Reviewed-by: Siva Durga Prasad Paladugu <
[email protected]
>
drivers/mtd/spi/sf_internal.h
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/sf_internal.h
b/drivers/mtd/spi/sf_internal.h
index 9642265bcfdb413d7923aace35831b9a90abe85a..6b2ab7b4a94b67ab13d9947c234a0b56635992ae 100644
(file)
--- a/
drivers/mtd/spi/sf_internal.h
+++ b/
drivers/mtd/spi/sf_internal.h
@@
-107,7
+107,7
@@
int sst_write_bp(struct spi_flash *flash, u32 offset, size_t len,
#define JEDEC_MFR(info) ((info)->id[0])
#define JEDEC_ID(info) (((info)->id[1]) << 8 | ((info)->id[2]))
#define JEDEC_EXT(info) (((info)->id[3]) << 8 | ((info)->id[4]))
-#define SPI_FLASH_MAX_ID_LEN
5
+#define SPI_FLASH_MAX_ID_LEN
6
struct spi_flash_info {
/* Device name ([MANUFLETTER][DEVTYPE][DENSITY][EXTRAINFO]) */